﻿using System;
using Fly.Data;
using FlyWebFrame.Model;

namespace FlyWebFrame.Action
{
    public class coursedetail : homeaction
    {
        public override void Treat()
        {
            int courseId = 0;
            Int32.TryParse(GetParameter(1), out courseId);
            renderNews(courseId);
            current_link = "coursedetail/" + other_lang + "/" + courseId;
        }   
    }
}